package com.hxzy.mapper;

import com.hxzy.dto.GoodsCategoryDTO;
import com.hxzy.entity.TbNewbeeMallGoodsCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbNewbeeMallGoodsCategoryMapper {
    int deleteByPrimaryKey(Long categoryId);

    int insert(TbNewbeeMallGoodsCategory record);

    int insertSelective(TbNewbeeMallGoodsCategory record);

    TbNewbeeMallGoodsCategory selectByPrimaryKey(Long categoryId);

    int updateByPrimaryKeySelective(TbNewbeeMallGoodsCategory record);

    int updateByPrimaryKey(TbNewbeeMallGoodsCategory record);

    List<TbNewbeeMallGoodsCategory> search(GoodsCategoryDTO goodsCategoryDTO);

    List<TbNewbeeMallGoodsCategory> searchAll();
}